package Testes;
import java.io.IOException;
import java.net.SocketException;

import javax.swing.JOptionPane;

import FTP.FTPConnection;


public class Teste 
{
	
	public static void main(String[] args) 
	{
		FTPConnection ftpcon = new FTPConnection();
		
		String nomeFTP = JOptionPane.showInputDialog("Informe FTP: ");
		String login = JOptionPane.showInputDialog("Login: ");
		String senha = JOptionPane.showInputDialog("Senha: ");
		
		try {
			ftpcon.conectaFTP(nomeFTP, login, senha);
		} catch (SocketException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	
	}

}
